package com.ynding.cloud.common.annotation;

import com.ynding.cloud.common.config.SwaggerConfig;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;

import java.lang.annotation.*;

/**
 * <p> </p>
 *
 * @author ynding
 * @version 2021/5/27
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
// 表示通过AOP框架暴漏该代理对象，AopContext能够访问
@EnableAspectJAutoProxy(exposeProxy = true)
// 开启线程异步执行
@EnableAsync
// 自动加载类
@Import({SwaggerConfig.class})
public @interface CustomSwaggerConfig {
}
